<template>
  <div class="loan-wrapper">
  <div class="loan-item">
        <span>借款类型:  </span><span>{{loan.loanKind}}</span>
      </div>
      <div class="loan-item">
        <span>创建时间:  </span><span>{{loan.createDate}}</span>
      </div>
      <div class="loan-item">
        <span>企业名称:  </span><span>{{loan.company}}</span>
      </div>
      <div class="loan-item">
        <span>  借款人:  </span><span>{{loan.loanerName}}</span>
      </div>
      <div class="loan-item">
        <span>  联系方式:  </span><span>{{loan.loadnerPhone}}</span>
      </div>
  </div>
</template>
<script>
import Loan from "../../model/loan.js";
  export default {
    data() {
      return {
      }
    },
    props: {
      loan: {
        type: Object,
        default: function() {
          return Loan
        }
      }
    }
  }
</script>
<style lang="scss">
.loan-wrapper{
  display: flex;
  width: 95%;
  height: 5rem;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  font-size: 0.4rem;
  border: 1px solid #999999;
  box-sizing: border-box;
  .loan-item {
    text-indent: 0.5rem;
    margin-bottom: 0.2rem;
  }
}
</style>
